package org.threadCase2;

public class Demo {
    public static void main(String[] args) {
        ThreadDemo threadDemo=new ThreadDemo();
        Thread t1=new Thread(threadDemo);
        t1.setName("甲");
        Thread t2=new Thread(threadDemo);
        t2.setName("乙");
        t1.start();
        t2.start();
    }
}
